package com.bgs.eat.shopEatInType.controller;

import com.bgs.eat.config.CommonResult;
import com.bgs.eat.shopEatInType.service.ShopEatInTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName ShopEatInTypeController
 * @Description TODO
 * @Author lzy
 * @Date 2022/10/12 8:54
 **/
@RequestMapping("/shopEatInType")
@RestController
@CrossOrigin
public class ShopEatInTypeController {

    @Autowired
    ShopEatInTypeService shopEatInTypeService;

    /**
    * @Description 获取堂食类型列表信息（门户展示-商家版）
    * @Author lzy
    * @Date 2022/10/12 8:56
    * @Return com.bgs.eat.config.CommonResult

    */
    @GetMapping("/getShopEatInTypeList")
    public CommonResult getShopEatInTypeList() {
        return shopEatInTypeService.getShopEatInTypeList();
    }


}
